package com.bite.book.mapper;

import com.bite.book.mode.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserInfoMapper {
    //根据用户名进行查询该用户的密码，验证其输入的密码是否正确；
    @Select("select * from user_info where user_name=#{name}")
    UserInfo queryUserInfoByName(String name);

}
